package com.ruoyi.exa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试批次对象 exa_bitch
 * 
 * @author linziheng
 * @date 2025-06-13
 */
@Data
@ApiModel(value = "ExaBitch", description = "考试批次对象")
public class ExaBitch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("ID")
    private Long id;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String bitchName;

    /** 所属工区 */
    private String space;

    @Excel(name = "所属工区")
    private String spaceName;

    /** 所属岗位 */
    private String sysPost;

    /** 所属岗位 */
    @Excel(name = "所属岗位")
    private String sysPostName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 试卷ID */
    private Long parperId;

    @Excel(name = "试卷名称")
    private String parperName;

    @Excel(name = "状态",readConverterExp = "0=未开始,1=已结束,2=进行中")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBitchName(String bitchName) 
    {
        this.bitchName = bitchName;
    }

    public String getBitchName() 
    {
        return bitchName;
    }

    public void setSpace(String space) 
    {
        this.space = space;
    }

    public String getSpace() 
    {
        return space;
    }

    public void setSysPost(String sysPost) 
    {
        this.sysPost = sysPost;
    }

    public String getSysPost() 
    {
        return sysPost;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setParperId(Long parperId) 
    {
        this.parperId = parperId;
    }

    public Long getParperId() 
    {
        return parperId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bitchName", getBitchName())
            .append("space", getSpace())
            .append("sysPost", getSysPost())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("parperId", getParperId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
